package com.lingnan.wanxiangxinxun.constant;


public class redisConstant {

    //用户点赞新闻key
    public static final String USER_LIKE_NEWS_KEY = "wx_userLike:userId:";

    //用户收藏新闻key
    public static final String USER_FAVORITE_NEWS_KEY = "wx_userFavorite:userId:";

    //用户浏览历史key
    public static final String USER_HISTORY_NEWS_KEY = "wx_userHistory:userId:";

    //各类新闻浏览量key
    public static final String VARIOUS_TYPES_NEWS_VIEW_NUM_KEY = "wx_variousTypeNewsViewNum:newsType:";

    //头条新闻
    public static final String HEADLINE_NEWS_KEY = "wx_headlineNewsId";

    //热门新闻集合（为用户推荐新闻时用到）
    public static final String HOT_NEWS_KEY = "wx_hotNews";

    //热搜榜
    public static final String HOT_SEARCH_KEY = "wx_hotSearch";


    //用户【未阅读】某通知key，ZSet类型（针对个人的通知）--完整为：wx_userRead_Personal_Notice:[userId]
    public static final String USER_UNREAD_PERSONAL_NOTICE_KEY = "wx_userUNRead_Personal_Notice:userId:";

    //用户【已阅读】某通知key，Set类型（全服通知）--完整为：wx_userRead_Global_Notice:[noticeId]:[userId]
    public static final String USER_READ_GLOBAL_NOTICE_KEY = "wx_userRead_Global_Notice:noticeId:";


}
